package com.markedquilt.springaop.service.Impl;

import com.markedquilt.springaop.annotation.MyAnnotation;
import com.markedquilt.springaop.service.IUserService;
import org.springframework.stereotype.Service;

@Service
public class IUserServiceImpl implements IUserService {

  @Override
  @MyAnnotation(value = "niupi")
  public void printMsg() {
//    String value = this.getClass().getAnnotation(MyAnnotation.class).value();
//    System.out.println(value);
    System.out.println(" function is running ");
  }
}
